﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
///RepeterNoDate 的摘要说明
/// </summary>
public class EmptyData:ITemplate
{
    private string _info;

    /// <summary>
    /// 提示信息
    /// </summary>
    public string Info
    {
        get { return this._info; }
        set { this._info = value; }
    }
    #region ITemplate 成员
    public EmptyData(string info)
    {
        this._info = info;
    }
    public void InstantiateIn(Control container)
    {
        Literal nodata = new Literal();
        nodata.Text = _info;
        container.Controls.Add(nodata);
    }

    #endregion
}
